
package org.soekrat.engine.util;

public final class PerfectStringMetric extends StringMetric 
{
  public PerfectStringMetric(){}

  @Override
  public float metric(String s0, String s1)
  {
    if (s0==null)
    {
      throw new NullPointerException("s0");
    }
    if (s1==null)
    {
      throw new NullPointerException("s1");
    }
    
    return s0.compareToIgnoreCase(s1);
  }
  
  
}
